//
//  CountryTableViewController.h
//  _2010WorldCupNationalAthem
//
//  Created by Apple on 2010/7/13.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "config.h"


@interface CountryTableViewController : UIViewController 
<UITableViewDelegate, UITableViewDataSource>

{
	// 0: group A-H,  1: round of 16,  2:quarter-Finals,  3: semi-final,  4: final,  5:champion
	NSUInteger tableType ;
	
	NSArray * listData ;
	
	NSUInteger selectedCountry ;
	
	NSString * countryNameToPlay ;
	NSString * countryNameToShow ;
	
	
}


@property (nonatomic, retain) NSArray * listData ;
@property (nonatomic, retain) NSString * countryNameToPlay ;
@property (nonatomic, retain) NSString * countryNameToShow ;


//~~~~~~~~~~~~~~~~~~~ Method Declaration ~~~~~~~~~~~~~~~~~~~~~~~~~

// called by MainMenu 
//
- (void) setTableSelection:(NSUInteger)type ;

// 跳到播放畫面，傳入國家名稱
//
-(void) jump2Player:(NSString *)countryName ;


// 根據user選到的 表格/section/row，轉換為國家名稱 (從國家名稱可以得到播放時需要的圖檔與音樂檔名)
// this method would set countryNameToPlay & countryNameToShow
//
-(void) setCountryNameToPlay:(NSUInteger)section rowInSection:(NSUInteger)row ;




@end
